import express from 'express'
import {
  getExhibitions,
  getExhibition,
  getTicketTypes
} from '../controllers/exhibitionController.js'

const router = express.Router()

// 获取展览列表
router.get('/', getExhibitions)

// 获取展览详情
router.get('/:id', getExhibition)

// 获取票种列表
router.get('/:exhibitionId/ticket-types', getTicketTypes)

export default router
